home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
AVOGADRO
/
CHEMISTRY
/
ENERGY
/
!Energy
/
!Run
< prev
next >
Wrap
Text File
|
1996-05-10
|
1KB
|
36 lines
| > !Energy.!Run
|
| Run File for Translational and Rotational Populations and Spectra
|
| by Chris Johnson
|
RMEnsure UtilityModule 3.10 Error This application is only suitable for use with RISC OS 3.10 or later versions
|
| Follow PRM (4:497) advice and prevent multiple running
|
If "<Energy$Running>" = "yes" Then Error Energy is already running
|
|
| Find path to file
Set Energy$Dir <Obey$Dir>
Set EnergyRM$Path <Obey$Dir>.rm.,system:modules.
|
IconSprites <Obey$Dir>.!Sprites
|
set temp$flag 1
RMEnsure ABCLibrary 0 set temp$flag 0
RMensure ABCLibrary 4.02 if "<temp$flag>" = "1" Then Error 0 Old ABCLib installed Else RMLoad EnergyRM:ABCLib
RMensure ABCLibrary 4.02 Error You need the ABClibrary ver 4.02 or later installed
|
set temp$flag 1
RMEnsure CJWimpUtil 0 set temp$flag 0
RMEnsure CJWimpUtil 0.18 if "<temp$flag>" = "1" Then Error 0 Old CJWimpUtil installed Else RMLoad EnergyRM:cjWimpUtil
RMEnsure CJWimpUtil 0.18 Error You need the CJWimpUtil module installed
unset temp$flag
|
| Check memory allocation
WimpSlot -min 76K -max 76K
|
| Now start program
Run <Obey$Dir>.!RunImage